You will damage the ballasts sooner or later while flickering the lights the way you wired them up together.
I know that your set up works great for now but keep in mind that the high beams on the Xenon headlamps have exactly the same specifications as any Z cars that was available in America so they must be wired separately just like the OEM factory genuine lights.